const { resolve } =require('path')
const r = path => resolve(__dirname,path)
const programPath = resolve(process.cwd,'./program')

module.exports={
    "json":{
        "page":[
            'pages/add-todo/add-todo',
            'pages/todos/todos'
        ],

        "window":{
            "backgroundTextStyle":"light",
            "navigationBarBackgroundColor": "#fff",
            "navigationBarTitleText": "WeChat",
            "navigationBarTextStyle":"black"
        }
    },
    "programPath":programPath,
    "app":r('./app.js'),
    "style":{
        url:r('./style/base.less'),
        lang:'less'
    }
}